<template>
  <el-icon>
    <User v-if="icon === 'icon-user'" />
    <Menu v-if="icon === 'icon-menu'" />
    <Goods v-if="icon === 'goods'" />
    <DataAnalysis v-if="icon === 'data-analysis'" />
    <Edit v-if="icon === 'edit'" />
    <MapLocation v-if="icon === 'map-location'" />
  </el-icon>
</template>

<script setup lang="ts">
import { Goods, Menu, User, Edit, MapLocation, DataAnalysis } from '@element-plus/icons-vue'

defineProps<{ icon: string }>()
</script>

<style lang="less" scoped></style>
